package admin.service;

import admin.entity.User;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author xf07b1
 * @wechat xf07b1
 * @description
 */
public interface UserService extends IService<User> {

    void page( Page<User> page,User user);

    boolean exist(String username);

    String login(String username, String password);

    User getByUsername(String username);
}
